package com.cc.blog.service;

import com.cc.blog.entity.SysUser;
import com.cc.blog.vo.params.LoginParams;
import com.cc.blog.vo.Result;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface LoginService {
    /**
     * 登录功能
     * @param loginParams
     * @return
     */
    Result login(LoginParams loginParams);

    SysUser checkToken(String token);
}
